package com.zkthink.ceres.promotion.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.zkthink.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import com.zkthink.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 分销员
 * </p>
 *
 * @author kellen
 * @since 2020-08-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SalesPromConfigUpdateDTO", description = "分销推广设置")
public class SalesPromConfigUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "id不能为空", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 店铺logo是否展示  1是 2否
     */
    @ApiModelProperty(value = "店铺logo是否展示  1是 2否")
    private Integer isShowShopLogo;
    /**
     * 头像昵称是否展示 1是 2否
     */
    @ApiModelProperty(value = "头像昵称是否展示 1是 2否")
    private Integer isShowNickName;
    /**
     * 推荐语
     */
    @ApiModelProperty(value = "推荐语")
    private String inviteText;
    /**
     * 背景图
     */
    @ApiModelProperty(value = "背景图")
    private String backImg;
    /**
     * 类型 1店铺推荐 2邀请下级
     */
    @ApiModelProperty(value = "类型 1店铺推荐 2邀请下级")
    private Integer type;
}
